// ActionScript file
import com.CI.ViewAllCourse.Control.ViewCourseDirectEvents;
import com.CI.ViewAllCourse.Control.ViewCourseOnlineEvents;
import com.CI.ViewAllCourse.VO.CourseDirect;
import com.CI.ViewAllCourse.VO.CourseOnline;


public function viewAllCourseDirect() : void
{
	var courseDirect : CourseDirect = new CourseDirect();
	
	var event : ViewCourseDirectEvents = new ViewCourseDirectEvents(courseDirect);
    event.dispatch();
}

public function viewAllCourseOnline() : void
{
	var courseOnline : CourseOnline = new CourseOnline();
	
	var event : ViewCourseOnlineEvents = new ViewCourseOnlineEvents(courseOnline);
	event.dispatch();
}